package models

import "gorm.io/gorm"

type User struct {
	gorm.Model
	Username string `gorm:"type:varchar(30)"`
	Password string `gorm:"type:varchar(32)"`
}
type Good struct {
	gorm.Model
	Name  string `gorm:"type:varchar(50)" json:"name"`
	Price int    `gorm:"type:int" json:"price"`
	Desc  string `gorm:"type:varchar(50)" json:"desc"`
}
